package com.yunche.yunchebusiness.mvp.contract

import com.yunche.yunchebusiness.base.mvp.IBasePresenter
import com.yunche.yunchebusiness.base.mvp.IBaseView
import com.yunche.yunchebusiness.entity.ModelEntity
import com.yunche.yunchebusiness.entity.SeriesEntity
import okhttp3.RequestBody

/**
 * Create by Crcker on 2018/12/21 15:05
 * Email: Crcker@163.com
 */


class SeriesContract {
    interface View : IBaseView {
        fun getSeriesSuccess(seriesEntity: List<SeriesEntity>)
        fun getModelSuccess(modelEntity: List<ModelEntity>)
    }

    interface Presenter : IBasePresenter<View> {
        fun getSeries(requestBody: RequestBody)
        fun getModel(requestBody: RequestBody)
    }
}